package com.lzh.gulimall.product.feign;

import com.lzh.common.to.es.SkuEsModel;
import com.lzh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @ClassName SearchFeignService
 * @Description TODO
 * @Author liuzhihui
 * @Date 2020/8/24 18:35
 * @Version 1.0
 **/
@FeignClient("gulimall-search")
public interface SearchFeignService {

    @PostMapping(value = "/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
